﻿@inherits Blazorise.BaseDateEdit
@if ( !HasCustomRegistration )
{
    <input type="date" class="@ClassMapper.Class" style="@StyleMapper.Style" disabled="@IsDisabled" readonly="@IsReadonly" pattern="@Pattern" value="@internalDate" @onchange="@InternalDateHandler" @onclick="@ClickHandler" id="@ElementId" @ref="ElementRef" @ref:suppressField placeholder="@Placeholder" min="@Min?.ToString(Utils.Parsers.InternalDateFormat)" max="@Max?.ToString(Utils.Parsers.InternalDateFormat)" />
    @ChildContent
    @Feedback
}
else
{
    @RenderCustomComponent()
}